﻿namespace KeRui.Model
{
    using System;

    [Serializable]
    public class CmsField
    {
        private DateTime _createtime;
        private string _defaultvalue;
        private string _description;
        private bool _enablenull;
        private bool _enablesearch;
        private string _fieldalias;
        private int _fieldid;
        private string _fieldname;
        private int _fieldtype;
        private int _istab;
        private bool _isusing;
        private string _maxvalue;
        private int _modelid;
        private int _orderid;
        private string _stylevalue;
        private string _tips;
        private DateTime _updatetime;

        public DateTime CreateTime
        {
            get
            {
                return this._createtime;
            }
            set
            {
                this._createtime = value;
            }
        }

        public string DefaultValue
        {
            get
            {
                return this._defaultvalue;
            }
            set
            {
                this._defaultvalue = value;
            }
        }

        public string Description
        {
            get
            {
                return this._description;
            }
            set
            {
                this._description = value;
            }
        }

        public bool EnableNull
        {
            get
            {
                return this._enablenull;
            }
            set
            {
                this._enablenull = value;
            }
        }

        public bool EnableSearch
        {
            get
            {
                return this._enablesearch;
            }
            set
            {
                this._enablesearch = value;
            }
        }

        public string FieldAlias
        {
            get
            {
                return this._fieldalias;
            }
            set
            {
                this._fieldalias = value;
            }
        }

        public int FieldID
        {
            get
            {
                return this._fieldid;
            }
            set
            {
                this._fieldid = value;
            }
        }

        public string FieldName
        {
            get
            {
                return this._fieldname;
            }
            set
            {
                this._fieldname = value;
            }
        }

        public int FieldType
        {
            get
            {
                return this._fieldtype;
            }
            set
            {
                this._fieldtype = value;
            }
        }

        public int IsTab
        {
            get
            {
                return this._istab;
            }
            set
            {
                this._istab = value;
            }
        }

        public bool IsUsing
        {
            get
            {
                return this._isusing;
            }
            set
            {
                this._isusing = value;
            }
        }

        public string MaxValue
        {
            get
            {
                return this._maxvalue;
            }
            set
            {
                this._maxvalue = value;
            }
        }

        public int ModelID
        {
            get
            {
                return this._modelid;
            }
            set
            {
                this._modelid = value;
            }
        }

        public int OrderID
        {
            get
            {
                return this._orderid;
            }
            set
            {
                this._orderid = value;
            }
        }

        public string StyleValue
        {
            get
            {
                return this._stylevalue;
            }
            set
            {
                this._stylevalue = value;
            }
        }

        public string Tips
        {
            get
            {
                return this._tips;
            }
            set
            {
                this._tips = value;
            }
        }

        public DateTime UpdateTime
        {
            get
            {
                return this._updatetime;
            }
            set
            {
                this._updatetime = value;
            }
        }
    }
}

